﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Utility
{
    [Serializable]
    public class BaseData
    {
        public BaseData()
        {
            this.CreateUser = 0;
            this.CreateTime = DateTime.Now;
            this.LastUpdateUser = 0;
            this.LastUpdateTime = DateTime.Now;
            this.Status = Status.normal;
        }
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public Status Status { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public int CreateUser { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后修改用户
        /// </summary>
        public int LastUpdateUser { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastUpdateTime { get; set; }
        public void Init()
        {

        }
    }
}
